export interface RootState {
  version: string
}
export interface menus {
  id: string
  name: string
  path?: string
  icon?: string
  children: any[]
}
export interface SystemState {
  collapsed: boolean | null // 菜单展开或者收缩状态
  selectedKeys: string[] | null // 当前选中的菜单项 key 数组
  opens: string[] | null
  breadcrumbs: string[], // 面包屑
  routes: any, // 最后保存的路由
  menus: menus[]
}
// 面包屑相关配置
export interface route {
  name: string
  path?: string
}
export interface routerMatched {
  meta: Object
  path: string
  [propName: string]: any
}
export interface matchedBox {
  breadcrumbs: routerMatched[]
}

